Commit a7b6576e by John Donnal

updated user creation to work with ubuntu live cd

parent f50de7c5
#!/bin/bash
#source set_locale.sh
# install the puppet forge modules
mkdir -p forge_modules
r10k puppetfile install --moduledir=./forge_modules
# run puppet
puppet apply --verbose --modulepath=./forge_modules:./modules site.pp
#!/bin/bash
set -e
# start a container with the following command:
# sudo systemd-nspawn -D squashfs-root/ -b --network-interface=enxd8eb97bdd8ed --bind-ro=/home/jdonnal/puppet:/home/ubuntu/puppet -M wattsworth
#echo "nameserver 172.31.33.1" > /etc/resolv.conf
apt-get update
apt-get upgrade -y
#wget https://apt.puppetlabs.com/puppet-release-bionic.deb
#dpkg -i puppet-release-bionic.deb
#add-apt-repository universe
apt-get update
apt install puppet git r10k -y
#!/bin/bash
set -e
echo "MAKE SURE TO delete joule database and referesh installation on systemd!!"
userdel ubuntu
rm -rf /home/ubuntu
......@@ -36,6 +36,7 @@ class joule {
}
user{'joule':
ensure => present,
uid => 901,
system => true
}
......
......@@ -12,6 +12,8 @@ class rails_api {
user{'rails':
ensure => present,
uid => 900,
#gid => 900,
system => true
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment