This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Start with puppet-install.sh first | |
export PUPPET_FQDN=puppet.example.com | |
sudo groupadd puppet # Otherwise error during install | |
sudo foreman-installer \ | |
--no-enable-foreman-proxy \ | |
--puppet-server false \ | |
--puppet-puppetmaster ${PUPPET_FQDN} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo puppet agent --test --debug | |
Debug: Applying settings catalog for sections main, agent, ssl | |
Debug: Caching environment 'production' (ttl = 0 sec) | |
Debug: Evicting cache entry for environment 'production' | |
Debug: Caching environment 'production' (ttl = 0 sec) | |
Debug: Evicting cache entry for environment 'production' | |
Debug: Caching environment 'production' (ttl = 0 sec) | |
Debug: Evicting cache entry for environment 'production' | |
Debug: Caching environment 'production' (ttl = 0 sec) | |
Debug: Using settings: adding file resource 'confdir': 'File[/etc/puppet]{:path=>"/etc/puppet", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AWS from 'aws-sdk/global' | |
import eventEmitter from 'event-emitter' | |
import differenceInMilliseconds from 'date-fns/difference_in_milliseconds' | |
import minDate from 'date-fns/min' | |
// Set this to match your setup | |
const env = { | |
awsRegion: XXXX, | |
identityPoolId: XXXX, | |
userPoolId: XXXX, |