This file contains hidden or 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
| notify {'Should see this.': } | |
| exec { '/bin/false': | |
| refreshonly => true, # Does not work | |
| # refreshonly => false, # Does work | |
| subscribe => Notify['Should see this.'], | |
| } | |
| notify { 'Should not see this.': | |
| require => Exec['/bin/false'], |
This file contains hidden or 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
| --- | |
| :hieradata: | |
| - vhosts/%{hostname}/%{vhost_name} | |
| - vhosts/%{vhost_name} | |
| - vhosts/common.yaml | |
| - common.yaml | |
| :backends: | |
| - yaml |
This file contains hidden or 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
| file { 'long_ass_filename': | |
| ensure => file, | |
| path => '/var/www/some/really/freaking/long/path/name/do_you_want_to_repeat.html', | |
| } | |
| service { 'some_service': | |
| ensure => running, | |
| subscribe => File['long_ass_filename'], | |
| } |
This file contains hidden or 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
| package { 'blah' | |
| ensure => '1.2.3.4', | |
| provider => 'gem', | |
| } |
This file contains hidden or 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
| # in /etc/puppet/hieradata/ | |
| --- | |
| someclass::setting1: 'blah' | |
| someclass::another_setting: 1234 | |
| someclass::array_setting: | |
| - 'oneval' | |
| - 'twoval' | |
| - 'redval' | |
| - 'blueval' |
This file contains hidden or 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
| File { | |
| ensure => file, | |
| } | |
| file { '/tmp/link': | |
| target => '/tmp/target', | |
| } |
This file contains hidden or 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
| [root@james modules]# cat /tmp/one /tmp/two | |
| three | |
| three |
This file contains hidden or 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
| notice: /Stage[main]/Copyfile/File[/etc/file.txt]/content: content changed '{md5}b35da899f493edca60224127f8cd5e9b' to '{md5}49e500f80eaf8cda0b48d1be009ad080' | |
| notice: Finished catalog run in 0.45 seconds | |
| All your catalog are belong to Craig | |
| notice: /Stage[main]/Copyfile/File[/etc/file.txt]/content: content changed '{md5}47dbe29533f7223b9e66fb585ad494c8' to '{md5}49e500f80eaf8cda0b48d1be009ad080' | |
| notice: Finished catalog run in 0.45 seconds | |
This file contains hidden or 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
| $rules = ["RewriteRule ^(/sub2/.*) /www/${::domain}\$1"] | |
| apache::vhost { 'blah': | |
| rewrite_rules => $rules, | |
| } |
This file contains hidden or 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
| Debug: Received report to process from util.fusion.local | |
| Debug: Processing report from util.fusion.local with processor Puppet::Reports::Fail | |
| Error: Report processor failed: Oh crap. | |
| Debug: Processing report from util.fusion.local with processor Puppet::Reports::Store |
OlderNewer