diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-03-16 00:22:38 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-03-16 18:08:12 +0100 |
commit | c15f2234474ff8a8266e26856702b3c561050667 (patch) | |
tree | 5df6dfb44ee2d37fbd9cf7b701bdc7881c575857 /scripts/arch_puppet_configuration_script.sh | |
parent | 985b53a258ee18eaca8d437ae532c232a6d19921 (diff) | |
download | Puppet-c15f2234474ff8a8266e26856702b3c561050667.tar.gz Puppet-c15f2234474ff8a8266e26856702b3c561050667.tar.zst Puppet-c15f2234474ff8a8266e26856702b3c561050667.zip |
Move scripts to separate chunks
Diffstat (limited to 'scripts/arch_puppet_configuration_script.sh')
-rwxr-xr-x | scripts/arch_puppet_configuration_script.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/arch_puppet_configuration_script.sh b/scripts/arch_puppet_configuration_script.sh new file mode 100755 index 0000000..caf8987 --- /dev/null +++ b/scripts/arch_puppet_configuration_script.sh | |||
@@ -0,0 +1,8 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | git_branch="$1" | ||
4 | environment="$2" | ||
5 | CODE_PATH="/etc/puppetlabs/code" | ||
6 | |||
7 | puppet apply --environment $environment --tags base_installation --test $CODE_PATH/manifests/site.pp | ||
8 | |||