summaryrefslogtreecommitdiffstats
path: root/utils/dev_env/deploy/p-agent-user-data.template
diff options
context:
space:
mode:
authoryuyang <Gabriel.yuyang@huawei.com>2017-02-20 11:28:17 +0800
committeryuyang <Gabriel.yuyang@huawei.com>2017-03-09 19:54:56 +0800
commitc5162f01bb54eab6b3c4056074e28e0080dc4d08 (patch)
tree62c3c6b08fd54e25deb22949a009bc7ce3ac9612 /utils/dev_env/deploy/p-agent-user-data.template
parent5938133db9d2a4a8796c45eeeeef2c74da3ddeba (diff)
Add liscense to file headers
JIRA: BOTTLENECK-133 Some Yaml, XML and __init__.py file do not have liscense headers. This patch is to add headers to those files or delete those are deprecated. Change-Id: Ie059b1f1879eb420eec171f96985247510c74642 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
Diffstat (limited to 'utils/dev_env/deploy/p-agent-user-data.template')
-rw-r--r--utils/dev_env/deploy/p-agent-user-data.template40
1 files changed, 0 insertions, 40 deletions
diff --git a/utils/dev_env/deploy/p-agent-user-data.template b/utils/dev_env/deploy/p-agent-user-data.template
deleted file mode 100644
index 3d778f1a..00000000
--- a/utils/dev_env/deploy/p-agent-user-data.template
+++ /dev/null
@@ -1,40 +0,0 @@
-#cloud-config
-
-users:
- - name: ubuntu
- ssh-authorized-keys:
-REPLACED_TRUSTED_PUB_SSH_KEYS
- - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCwmx8/86Vc1yqqplMPkm/w6wB2r5Yl6CjON85Ko5SzPEpnysJwO5ygbMClQTbzCUztIpFeO8D6xdWlhPmhMEJIWtRh+Dx0swB+ByMraGTP92xxKo2ukWzYI6eu25LmJX+a1lmVPmewQq+6dPzIwgCZvwD8UVe5L+d0EP2rb3iniQVoBzksUmhL3N6jp2Lgpscfi1yXFgjFdLpDsCcFcM+Q6wQUC2+qGBYa5RxqercWzISSbvAsYwC7UepmjFpcj3W/WX2QcOCDIlAzeURvC8PbOdzCtgeMhuhH2499BcIUSzPMpjzvpRiHr5SeF/zrPeW+2Ei1MfHi1qrBCxS8JBqt bottlenecks@bottlenecks.opnfv.org
- sudo: ['ALL=(ALL) NOPASSWD:ALL']
- groups: sudo
- shell: /bin/bash
-
-runcmd:
- - restart ssh
- - wget https://apt.puppetlabs.com/puppetlabs-release-trusty.deb
- - sudo dpkg -i puppetlabs-release-trusty.deb
- - sudo apt-get update
- - sudo apt-get -y install puppet
- - sed -i '/^factpath/a basemodulepath=\/etc\/puppet\/modules' /etc/puppet/puppet.conf
- - sed -i '/^factpath/a server=REPLACED_PUPPET_MASTER_SERVER' /etc/puppet/puppet.conf
- - sed -i '/^factpath/a runinterval=1d' /etc/puppet/puppet.conf
- - sed -i '/^templatedir/d' /etc/puppet/puppet.conf
- - sed -i 's/START=no/START=yes/g' /etc/default/puppet
-
-write_files:
- - path: /etc/hosts
- content: |
- 127.0.0.1 localhost
-
- # The following lines are desirable for IPv6 capable hosts
- ::1 ip6-localhost ip6-loopback
- fe00::0 ip6-localnet
- ff00::0 ip6-mcastprefix
- ff02::1 ip6-allnodes
- ff02::2 ip6-allrouters
- ff02::3 ip6-allhosts
-
- # hosts info for all vms
-REPLACED_HOSTS_INFO
-
-final_message: "The system with puppet is finally up, after $UPTIME seconds."