@@ -24,7 +24,7 @@ Module from forge with module defaults
24
24
25
25
<pre >
26
26
$ mv modules/data modules/data.bak
27
- $ puppet --config etc/puppet.conf --libdir ../lib site.pp
27
+ $ puppet apply --config etc/puppet.conf site.pp
28
28
notice: /Stage[main]/Ntp::Config/File[/tmp/ntp.conf]/ensure: defined content as '{md5}7045121976147a932a66c7671939a9ad'
29
29
notice: /Stage[main]/Users::Common/Notify[Adding users::common]/message: defined 'message' as 'Adding users::common'
30
30
$ cat /tmp/ntp.conf
@@ -40,7 +40,7 @@ Site wide override data in _data::common_
40
40
41
41
<pre >
42
42
$ mv modules/data.bak modules/data
43
- $ puppet --config etc/puppet.conf --libdir ../lib site.pp
43
+ $ puppet apply --config etc/puppet.conf site.pp
44
44
notice: /Stage[main]/Ntp::Config/File[/tmp/ntp.conf]/content: content changed '{md5}7045121976147a932a66c7671939a9addc2' to '{md5}8f9039fe1989a278a0a8e1836acb8d23'
45
45
notice: /Stage[main]/Users::Common/Notify[Adding users::common]/message: defined 'message' as 'Adding users::common'
46
46
$ cat /tmp/ntp.conf
@@ -56,7 +56,7 @@ Fact driven overrides for location=dc1
56
56
* The _ hiera_include()_ function includes _ users::common_ and _ users::dc1_ as the data file for dc1 adds that
57
57
58
58
<pre >
59
- $ FACTER_location=dc1 puppet --config etc/puppet.conf --libdir ../lib site.pp
59
+ $ FACTER_location=dc1 puppet apply --config etc/puppet.conf site.pp
60
60
notice: /Stage[main]/Ntp::Config/File[/tmp/ntp.conf]/content: content changed '{md5}8f9039fe1989a278a0a8e1836acb8d23' to '{md5}074d0e2ac727f6cb9afe3345d574b578'
61
61
notice: /Stage[main]/Users::Common/Notify[Adding users::common]/message: defined 'message' as 'Adding users::common'
62
62
notice: /Stage[main]/Users::Dc1/Notify[Adding users::dc1]/message: defined 'message' as 'Adding users::dc1'
@@ -69,7 +69,7 @@ Now simulate a machine in _dc2_, because there is no data for dc2 it uses the si
69
69
does not include the _ users::dc1_ class anymore
70
70
71
71
<pre >
72
- $ FACTER_location=dc2 puppet --config etc/puppet.conf --libdir ../lib site.pp
72
+ $ FACTER_location=dc2 puppet apply --config etc/puppet.conf site.pp
73
73
warning: Could not find class data::dc2 for nephilim.ml.org
74
74
notice: /Stage[main]/Ntp::Config/File[/tmp/ntp.conf]/content: content changed '{md5}074d0e2ac727f6cb9afe3345d574b578' to '{md5}8f9039fe1989a278a0a8e1836acb8d23'
75
75
notice: /Stage[main]/Users::Common/Notify[Adding users::common]/message: defined 'message' as 'Adding users::common'
0 commit comments