Tag Info

New answers tagged

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 ...


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.


0

That is exactly what docker does. fpm is good enough for packing the python instance and its third-party libraries. But if you want more customization like environment variables, it can't suit everything.


0

Yes, There some plugins could integrate to Github. Details : https://developer.github.com/webhooks/ Also, In the Fabric side, you could trigger it by a Github web hook request. If you don't want implement a website to do this, maybe you can try the jenkins and its plugin.


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.


0

As Elliot Labs pointed out, you need the INF driver files. You may be able to find these from the C:\Windows\System32\Drivers folder on a computer with the driver installed. Try searching for ath*, many Atheros drivers begin with these letters. You could also deploy the driver as an application, the command line for silent installation seems to be supplied ...


0

Virtual machines are the best method of testing a deployment. You mention that you have Windows Server 2012, the easiest solution may be to enable Hyper-V on that server, create a virtual switch, and create a VM test client. A few tips which might help you streamline your testing: If you use model specific settings in your customsettings.ini file, the ...


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 ...


0

Copy it to a disk/USB device and use it on a VM or spare computer. If you have access to VMs then you can set the custom settings to run a certain deployment based on the hardware found. I would recommend the disk/USB deployment test as it is easier to contain in case something goes wrong. here are instruction on how to deploy via offline media: ...


2

Replace exit 1 by return and insert a line before fi with exit 1. Update: Try this with a GNU grep: #!/bin/sh -e set -e error_exit() { d=$(date '+%D %T :: ') echo "$d Error: $*" >&2 exit 1 } out="$(sudo service nginx reload 2>&1 | grep -o fail || true)" # new if [ "x$out" = "xfail" ] # ...



Top 50 recent answers are included