Skip to content

Instantly share code, notes, and snippets.

@athreyavc1
Created August 28, 2015 08:38
Show Gist options
  • Save athreyavc1/b73a0076f3fe0686b973 to your computer and use it in GitHub Desktop.
Save athreyavc1/b73a0076f3fe0686b973 to your computer and use it in GitHub Desktop.
error
[root@centosserver ~]# puppet agent -t
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
sh: dpkg: command not found
Info: Caching catalog for centosserver.labhome.com
Info: Applying configuration version '1440750961'
Notice: /Stage[main]/Test::Sysusers/User[terry]/ensure: created
Notice: Applied catalog in 0.14 seconds
root@sqlserver1:/home/user# puppet agent -t
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Class[Test::Sysusers] is already declared; cannot redeclare at /etc/puppetlabs/code/environments/production/modules/testsql/manifests/init.pp:6 at /etc/puppetlabs/code/environments/production/modules/testsql/manifests/init.pp:6:2 on node sqlserver1.labhome.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
root@sqlserver1:/home/user#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment