Skip to content

Instantly share code, notes, and snippets.

@geetotes
Created March 15, 2013 18:11
Show Gist options
  • Save geetotes/c58bc3afee958d29aa70 to your computer and use it in GitHub Desktop.
Save geetotes/c58bc3afee958d29aa70 to your computer and use it in GitHub Desktop.
puppet error
[root@computer]# puppet agent -t --noop --verbose --trace
info: Retrieving plugin
info: Loading facts in /var/lib/puppet/lib/facter/postgres_default_version.rb
info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
info: Loading facts in /var/lib/puppet/lib/facter/iptables_version.rb
info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
info: Loading facts in /var/lib/puppet/lib/facter/ip6tables_version.rb
info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
info: Loading facts in /var/lib/puppet/lib/facter/iptables_persistent_version.rb
info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
notice: /Stage[main]/Postgresql::Server/Package[postgresql-server]/ensure: current_value absent, should be present (noop)
notice: /Stage[main]/Postgresql::Config::Beforeservice/Exec[create_postgresql_conf_path]/returns: current_value notrun, should be 0 (noop)
notice: /Firewall[5432 accept - postgres]/ensure: current_value absent, should be present (noop)
info: /Firewall[5432 accept - postgres]: Scheduling refresh of Exec[postgresql-persist-firewall]
notice: /Stage[main]/Postgresql::Config::Beforeservice/File_line[postgresql.conf#include]/ensure: current_value absent, should be present (noop)
info: /Stage[main]/Postgresql::Config::Beforeservice/File_line[postgresql.conf#include]: Scheduling refresh of Service[postgresqld]
notice: /Stage[main]/Postgresql::Config::Beforeservice/File_line[postgresql.conf#listen_addresses]/ensure: current_value absent, should be present (noop)
info: /Stage[main]/Postgresql::Config::Beforeservice/File_line[postgresql.conf#listen_addresses]: Scheduling refresh of Service[postgresqld]
notice: /Stage[main]/Postgresql::Config::Beforeservice/Exec[postgresql-persist-firewall]: Would have triggered 'refresh' from 1 events
notice: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba[main]/Concat[/var/lib/pgsql/data/pg_hba.conf]/File[/var/lib/puppet/concat/_var_lib_pgsql_data_pg_hba.conf]/ensure: current_value absent, should be directory (noop)
info: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba[main]/Concat[/var/lib/pgsql/data/pg_hba.conf]/File[/var/lib/puppet/concat/_var_lib_pgsql_data_pg_hba.conf]: Scheduling refresh of Exec[concat_/var/lib/pgsql/data/pg_hba.conf]
notice: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba[main]/Concat[/var/lib/pgsql/data/pg_hba.conf]/File[/var/lib/puppet/concat/_var_lib_pgsql_data_pg_hba.conf/fragments.concat.out]/ensure: current_value absent, should be present (noop)
notice: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba[main]/Concat[/var/lib/pgsql/data/pg_hba.conf]/File[/var/lib/puppet/concat/_var_lib_pgsql_data_pg_hba.conf/fragments]/ensure: current_value absent, should be directory (noop)
info: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba[main]/Concat[/var/lib/pgsql/data/pg_hba.conf]/File[/var/lib/puppet/concat/_var_lib_pgsql_data_pg_hba.conf/fragments]: Scheduling refresh of Exec[concat_/var/lib/pgsql/data/pg_hba.conf]
notice: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba[main]/Concat[/var/lib/pgsql/data/pg_hba.conf]/File[/var/lib/puppet/concat/_var_lib_pgsql_data_pg_hba.conf/fragments.concat]/ensure: current_value absent, should be present (noop)
notice: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba_rule[postgresql class generated rule ipv4acls 0]/Concat::Fragment[pg_hba_rule_postgresql class generated rule ipv4acls 0]/File[/var/lib/puppet/concat/_var_lib_pgsql_data_pg_hba.conf/fragments/010_pg_hba_rule_postgresql class generated rule ipv4acls 0]/ensure: current_value absent, should be present (noop)
info: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba_rule[postgresql class generated rule ipv4acls 0]/Concat::Fragment[pg_hba_rule_postgresql class generated rule ipv4acls 0]/File[/var/lib/puppet/concat/_var_lib_pgsql_data_pg_hba.conf/fragments/010_pg_hba_rule_postgresql class generated rule ipv4acls 0]: Scheduling refresh of Exec[concat_/var/lib/pgsql/data/pg_hba.conf]
notice: Concat::Fragment[pg_hba_rule_postgresql class generated rule ipv4acls 0]: Would have triggered 'refresh' from 1 events
notice: Postgresql::Pg_hba_rule[postgresql class generated rule ipv4acls 0]: Would have triggered 'refresh' from 1 events
notice: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba_rule[local access as postgres user]/Concat::Fragment[pg_hba_rule_local access as postgres user]/File[/var/lib/puppet/concat/_var_lib_pgsql_data_pg_hba.conf/fragments/001_pg_hba_rule_local access as postgres user]/ensure: current_value absent, should be present (noop)
info: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba_rule[local access as postgres user]/Concat::Fragment[pg_hba_rule_local access as postgres user]/File[/var/lib/puppet/concat/_var_lib_pgsql_data_pg_hba.conf/fragments/001_pg_hba_rule_local access as postgres user]: Scheduling refresh of Exec[concat_/var/lib/pgsql/data/pg_hba.conf]
notice: Concat::Fragment[pg_hba_rule_local access as postgres user]: Would have triggered 'refresh' from 1 events
notice: Postgresql::Pg_hba_rule[local access as postgres user]: Would have triggered 'refresh' from 1 events
notice: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba_rule[allow access to all users]/Concat::Fragment[pg_hba_rule_allow access to all users]/File[/var/lib/puppet/concat/_var_lib_pgsql_data_pg_hba.conf/fragments/100_pg_hba_rule_allow access to all users]/ensure: current_value absent, should be present (noop)
info: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba_rule[allow access to all users]/Concat::Fragment[pg_hba_rule_allow access to all users]/File[/var/lib/puppet/concat/_var_lib_pgsql_data_pg_hba.conf/fragments/100_pg_hba_rule_allow access to all users]: Scheduling refresh of Exec[concat_/var/lib/pgsql/data/pg_hba.conf]
notice: Concat::Fragment[pg_hba_rule_allow access to all users]: Would have triggered 'refresh' from 1 events
notice: Postgresql::Pg_hba_rule[allow access to all users]: Would have triggered 'refresh' from 1 events
notice: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba_rule[deny access to postgresql user]/Concat::Fragment[pg_hba_rule_deny access to postgresql user]/File[/var/lib/puppet/concat/_var_lib_pgsql_data_pg_hba.conf/fragments/003_pg_hba_rule_deny access to postgresql user]/ensure: current_value absent, should be present (noop)
info: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba_rule[deny access to postgresql user]/Concat::Fragment[pg_hba_rule_deny access to postgresql user]/File[/var/lib/puppet/concat/_var_lib_pgsql_data_pg_hba.conf/fragments/003_pg_hba_rule_deny access to postgresql user]: Scheduling refresh of Exec[concat_/var/lib/pgsql/data/pg_hba.conf]
notice: Concat::Fragment[pg_hba_rule_deny access to postgresql user]: Would have triggered 'refresh' from 1 events
notice: Postgresql::Pg_hba_rule[deny access to postgresql user]: Would have triggered 'refresh' from 1 events
notice: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba_rule[local access to database with same name]/Concat::Fragment[pg_hba_rule_local access to database with same name]/File[/var/lib/puppet/concat/_var_lib_pgsql_data_pg_hba.conf/fragments/002_pg_hba_rule_local access to database with same name]/ensure: current_value absent, should be present (noop)
info: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba_rule[local access to database with same name]/Concat::Fragment[pg_hba_rule_local access to database with same name]/File[/var/lib/puppet/concat/_var_lib_pgsql_data_pg_hba.conf/fragments/002_pg_hba_rule_local access to database with same name]: Scheduling refresh of Exec[concat_/var/lib/pgsql/data/pg_hba.conf]
notice: Concat::Fragment[pg_hba_rule_local access to database with same name]: Would have triggered 'refresh' from 1 events
notice: Postgresql::Pg_hba_rule[local access to database with same name]: Would have triggered 'refresh' from 1 events
notice: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba_rule[allow access to ipv6 localhost]/Concat::Fragment[pg_hba_rule_allow access to ipv6 localhost]/File[/var/lib/puppet/concat/_var_lib_pgsql_data_pg_hba.conf/fragments/101_pg_hba_rule_allow access to ipv6 localhost]/ensure: current_value absent, should be present (noop)
info: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba_rule[allow access to ipv6 localhost]/Concat::Fragment[pg_hba_rule_allow access to ipv6 localhost]/File[/var/lib/puppet/concat/_var_lib_pgsql_data_pg_hba.conf/fragments/101_pg_hba_rule_allow access to ipv6 localhost]: Scheduling refresh of Exec[concat_/var/lib/pgsql/data/pg_hba.conf]
notice: Concat::Fragment[pg_hba_rule_allow access to ipv6 localhost]: Would have triggered 'refresh' from 1 events
notice: Postgresql::Pg_hba_rule[allow access to ipv6 localhost]: Would have triggered 'refresh' from 1 events
notice: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba[main]/Concat[/var/lib/pgsql/data/pg_hba.conf]/Exec[concat_/var/lib/pgsql/data/pg_hba.conf]/returns: current_value notrun, should be 0 (noop)
notice: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba[main]/Concat[/var/lib/pgsql/data/pg_hba.conf]/Exec[concat_/var/lib/pgsql/data/pg_hba.conf]: Would have triggered 'refresh' from 8 events
/usr/lib/ruby/site_ruby/1.8/puppet/parameter.rb:165:in `fail'
/usr/lib/ruby/site_ruby/1.8/puppet/type/file/source.rb:166:in `metadata'
/usr/lib/ruby/site_ruby/1.8/puppet/type/file/source.rb:112:in `copy_source_values'
/usr/lib/ruby/site_ruby/1.8/puppet/type/file.rb:663:in `retrieve'
/usr/lib/ruby/site_ruby/1.8/puppet/type.rb:728:in `retrieve_resource'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction/resource_harness.rb:32:in `perform_changes'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction/resource_harness.rb:133:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:49:in `apply'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:84:in `eval_resource'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:104:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:490:in `thinmark'
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:489:in `thinmark'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:104:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:386:in `traverse'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:99:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:141:in `apply'
/usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:122:in `retrieve_and_apply_catalog'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:160:in `benchmark'
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:159:in `benchmark'
/usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:121:in `retrieve_and_apply_catalog'
/usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:152:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:43:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/agent/locker.rb:21:in `lock'
/usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:43:in `run'
/usr/lib/ruby/1.8/sync.rb:230:in `synchronize'
/usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:43:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:95:in `with_client'
/usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:41:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:172:in `call'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:172:in `controlled_run'
/usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:39:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/application/agent.rb:337:in `onetime'
/usr/lib/ruby/site_ruby/1.8/puppet/application/agent.rb:311:in `run_command'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:309:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:416:in `hook'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:309:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:407:in `exit_on_fail'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:309:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:69:in `execute'
/usr/bin/puppet:4
err: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba[main]/Concat[/var/lib/pgsql/data/pg_hba.conf]/File[/var/lib/pgsql/data/pg_hba.conf]: Could not evaluate: Could not retrieve information from environment production source(s) file:/var/lib/puppet/concat/_var_lib_pgsql_data_pg_hba.conf/fragments.concat.out at /etc/puppet/modules/concat/manifests/init.pp:228
notice: Concat[/var/lib/pgsql/data/pg_hba.conf]: Would have triggered 'refresh' from 6 events
notice: Postgresql::Pg_hba[main]: Would have triggered 'refresh' from 1 events
info: Postgresql::Pg_hba[main]: Scheduling refresh of Exec[reload_postgresql]
notice: /Stage[main]/Postgresql::Server/Exec[reload_postgresql]: Dependency File[/var/lib/pgsql/data/pg_hba.conf] has failures: true
warning: /Stage[main]/Postgresql::Server/Exec[reload_postgresql]: Skipping because of failed dependencies
notice: /Stage[main]/Postgresql::Server/Exec[reload_postgresql]: Would have triggered 'refresh' from 1 events
notice: Class[Postgresql::Config::Beforeservice]: Would have triggered 'refresh' from 12 events
notice: /Stage[main]/Postgresql::Server/Service[postgresqld]: Dependency File[/var/lib/pgsql/data/pg_hba.conf] has failures: true
warning: /Stage[main]/Postgresql::Server/Service[postgresqld]: Skipping because of failed dependencies
notice: /Stage[main]/Postgresql::Server/Service[postgresqld]: Would have triggered 'refresh' from 2 events
notice: Class[Postgresql::Server]: Would have triggered 'refresh' from 3 events
notice: /Stage[main]/Postgresql::Config::Afterservice/Exec[set_postgres_postgrespw]: Dependency File[/var/lib/pgsql/data/pg_hba.conf] has failures: true
warning: /Stage[main]/Postgresql::Config::Afterservice/Exec[set_postgres_postgrespw]: Skipping because of failed dependencies
notice: Stage[main]: Would have triggered 'refresh' from 2 events
notice: Finished catalog run in 3.99 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment