[root@pe-xl-core-2 ~]# FACTER_custom_environment=env_1 puppet agent -t |
Notice: Local environment: 'production' doesn't match server specified node environment 'env_1', switching agent to 'env_1'. |
Info: Retrieving pluginfacts |
Info: Retrieving plugin |
Info: Retrieving locales |
Info: Loading facts |
Info: Caching catalog for pe-xl-core-2.dev36.puppet.vm |
Info: Applying configuration version '1569285650' |
Notice: Safe to compile catalog. pluginsync_environment=env_1, server_facts.environment=env_1 |
Notice: /Stage[main]/Main/Notify[PROCEED]/message: defined 'message' as 'Safe to compile catalog. pluginsync_environment=env_1, server_facts.environment=env_1' |
Notice: Applied catalog in 0.08 seconds |
[root@pe-xl-core-2 ~]# FACTER_custom_environment=env_2 puppet agent -t |
Notice: Local environment: 'production' doesn't match server specified node environment 'env_1', switching agent to 'env_1'. |
Info: Retrieving pluginfacts |
Info: Retrieving plugin |
Info: Retrieving locales |
Info: Loading facts |
Info: Caching catalog for pe-xl-core-2.dev36.puppet.vm |
Notice: Local environment: 'env_1' doesn't match server specified environment 'env_2', restarting agent run with environment 'env_2' |
Info: Retrieving pluginfacts |
Info: Retrieving plugin |
Notice: /File[/opt/puppetlabs/puppet/cache/lib/facter/env_1.rb]/ensure: removed |
Notice: /File[/opt/puppetlabs/puppet/cache/lib/facter/env_2.rb]/ensure: defined content as '{md5}d41d8cd98f00b204e9800998ecf8427e' |
Info: Retrieving locales |
Info: Loading facts |
Info: Caching catalog for pe-xl-core-2.dev36.puppet.vm |
Info: Applying configuration version '1569285712' |
Notice: Now what? pluginsync_environment=env_1, server_facts.environment=env_2 |
Notice: /Stage[main]/Main/Notify[STOP]/message: defined 'message' as 'Now what? pluginsync_environment=env_1, server_facts.environment=env_2' |
Notice: Applied catalog in 0.09 seconds |
[root@pe-xl-core-2 ~]# FACTER_custom_environment=env_2 puppet agent -t |
Notice: Local environment: 'production' doesn't match server specified node environment 'env_2', switching agent to 'env_2'. |
Info: Retrieving pluginfacts |
Info: Retrieving plugin |
Info: Retrieving locales |
Info: Loading facts |
Info: Caching catalog for pe-xl-core-2.dev36.puppet.vm |
Info: Applying configuration version '1569285712' |
Notice: Safe to compile catalog. pluginsync_environment=env_2, server_facts.environment=env_2 |
Notice: /Stage[main]/Main/Notify[PROCEED]/message: defined 'message' as 'Safe to compile catalog. pluginsync_environment=env_2, server_facts.environment=env_2' |
Notice: Applied catalog in 0.08 seconds |
[root@pe-xl-core-2 ~]#
|