Tag Info

Hot answers tagged

1

Capistrano is not implemented to support the use case you describe. You can try setting the git variable to include sudo (set :git, 'sudo git'), however you will then likely run into the issue of your forwarded authentication key not being available to the sudo'ed git command. Perhaps a more fruitful strategy involves adding your user to the group of the ...


1

You are still missing either the Credentials setting or the Provisioning setting. See AccountData for how to use UnattendedJoin without entering credentials through Provisioning.


1

Ok, looking at your edit #7, you have two errors: Firs, you're missing <JoinDomain>somedomain.com</JoinDomain> with your domain name filled in. Second, you need to remove the <ComputerName>%MACHINENAME%</ComputerName> line. That should get you working.


1

Using Hiera is the right approach and you can achieve the dynamic nature of what you want by using PuppetDB along with the PuppetDB Hiera backend. This allows you to have something like the following in your Hiera YAML files: zookeeper::servers::_nodequery: ['Class[Zookeeper]', 'ipaddress'] This will return an array of $::ipaddress facts for all of the ...



Only top voted, non community-wiki answers of a minimum length are eligible