-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add service to publish facts to foreman
- Loading branch information
1 parent
9b0ac1e
commit b09dae2
Showing
5 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
fixtures: | ||
repositories: | ||
stdlib: 'https://github.com/puppetlabs/puppetlabs-stdlib' | ||
systemd: 'https://github.com/voxpupuli/puppet-systemd' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<%- | String[1] $user | -%> | ||
# THIS FILE IS MANAGED BY PUPPET | ||
[Unit] | ||
Description=publish facts to foreman | ||
|
||
[Service] | ||
Type=simple | ||
User=<%= $user %> | ||
ExecStart=/etc/puppetlabs/puppet/node.rb --watch-facts | ||
|
||
[Install] | ||
WantedBy=multi-user.target |