root@example1:~# puppet apply --noop -e 'class { apt: }' --modulepath 
/root/puppet/modules/ --environment=dev 
--environmentpath=/root/puppet/environments --hiera_config 
/root/puppet/hiera.yaml
Notice: Compiled catalog for example1 in environment dev in 0.13 seconds
Notice: /Stage[main]/Apt/File[preferences]/ensure: current_value 'absent', 
should be 'file' (noop)
Notice: 
/Stage[main]/Apt/Apt::Setting[conf-update-stamp]/File[/etc/apt/apt.conf.d/15update-stamp]/content:
 
current_value '{md5}b9de0ac9e2c9854b1bb213e362dc4e41', should be 
'{md5}0962d70c4ec78bbfa6f3544ae0c41974' (noop)
Notice: Class[Apt::Update]: Would have triggered 'refresh' from 2 events
Notice: /Stage[main]/Apt::Update/Exec[apt_update]: Would have triggered 
'refresh' from 1 event
Notice: Class[Apt::Update]: Would have triggered 'refresh' from 1 event
Notice: Apt::Setting[conf-update-stamp]: Would have triggered 'refresh' 
from 1 event
Notice: Class[Apt]: Would have triggered 'refresh' from 2 events
Notice: Stage[main]: Would have triggered 'refresh' from 2 events
Notice: Applied catalog in 0.03 seconds


root@example1:~# puppet lookup classes --hiera_config puppet/hiera.yaml 
--modulepath=/root/puppet/modules --environment=dev 
--environmentpath=/root/puppet/environments
---
- apt


root@example1:~# puppet apply --modulepath /root/puppet/modules/ 
--hiera_config /root/puppet/hiera.yaml --environment=dev 
--environmentpath="/root/puppet/environments" 
/root/puppet/environments/dev/site.pp
Notice: Compiled catalog for example1 in environment dev in 0.03 seconds
Notice: Applied catalog in 0.01 seconds

root@example1:~# cat /root/puppet/environments/dev/site.pp 
node default {
  lookup('classes')
}

root@example1:~# tree /root/hieradata/
/root/hieradata/
├── nodes
│   └── example1.yaml
└── README.md

root@example1:~# cat /root/hieradata/nodes/example1.yaml 
---
classes:
  - apt



So, I can see that hiera can find the proper class.  I can see that running 
in noop mode with the same options actually runs the class.  When I run 
puppet without manually running noop, nothing happens.  This is not limited 
to the apt class as there are about 10 classes that should clearly be 
installing/configuring, etc...  but there's nothing actually happening...

I feel like I missed something somewhere, but not seeing it.  Has anyone 
seen this before?


-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/e0ddcded-1e38-41b3-8e60-d876a62b5b64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to