Install Guide

Configure the puppet.conf file to use "dellasm" as a server. To configure the puppet.conf file, perform
the following:
Identify the location of the puppet.conf file. To do this, run the following command as
"administrator" in Windows or "root" in Linux which displays the directory of the puppet.conf file.
puppet config print config
Open the puppet.conf file by using a text editor and add the line "server = dellasm" to the [main],
[master], and [agent] section. If any of these sections does not exist, create them. A sample
resulting puppet.conf file may look similar to the following:
[main]
server=dellasm
[master]
server=dellasm
[agent]
server=dellasm
NOTE: Additional lines may be present in the puppet.conf file for your system. It is not
necessary to delete any information from this file. You need to ensure that the previously
noted section is present in the file.
Customizing Linux Template
Perform the following task to customize Linux template:
1. Ensure that all instructions have been completed for VMware or Hyper-V virtual machines as noted in
the previous section.
a. Install VMware tools (VMware only).
b. Install puppet agent and ensure that it is configured to run on startup
c. Make sure that ASM appliance and virtual machine time are synchronized by NTP.
d. Make sure that DNS is configured for “dellasm” to resolve.
e. Make sure puppet.conf file has updated configuration to point to “dellasm” as server.
2. Copy puppet certname scripts puppet_certname.sh and puppet_certname.rb to the virtual
machine.
a. You can find the puppet certificate name scripts for Linux (puppet_certname.sh and
ppet_certname.rb) in /opt/asm-deployer/scripts on ASM appliance. You can move these files
to /var/lib/razor/repo-store. The following command needs to be run from the /var/lib/razor/
repo-store directory or will fail.
sudo find win2012 -print0 | sudo xargs -0 chown razor:razor
NOTE: The version of the INI file in puppet certificate script should be specified as 2.0.2. To
verify this, open the puppet_certname.sh file and check that the INI file version is specified
as 2.0.2 or not.
b. On a Linux virtual machine, you must copy these scripts to /usr/local/bin. Make sure that the
permissions are set on these scripts to at least read and execute. To do this, run the following
commands:
chmod 755 /usr/local/bin/puppet_certname.sh
chmod 755 /usr/local/bin/puppet_certname.rb
3. Make sure that the virtual machine has access to the Internet, as this is required to download and
install the necessary ruby gem files. Download the required gem files from https://rubygems.org/ and
move the gem files to the appropriate place on the host you are preparing. If your virtual machine
will not have access to the Internet, then download the ruby gem files for “inifile” and “hashie” and
place them in the /usr/local/bin directory where you copied the puppet certname scripts.
24