Skip to content

Commit

Permalink
updated init.pp file
Browse files Browse the repository at this point in the history
  • Loading branch information
eamonnk committed Jun 14, 2018
1 parent b9c4cec commit 828a71d
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion docs/_posts/2018-01-08-200.2x-IaC-DeployappwithPuppetonAzure.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ Before we fully describe the MRP app for the node, let's test that everything is
![](..\assets\pumrpdeploywithpuppet-jan2018\testdummytestnodeconfig.png)
We use the `--debug` switch to display more information as the command exectutes, purely for learning purposes. You can remove this switch to receive less text output if you wish.
By default, the Puppet agents will query the Puppet Master for their configuration every 30 minutes. The
command you just entered forces the agent to ask the Puppet Master for its configuration. It then tests
itself against the configuration, and does whatever it needs to do in order to make itself match that
Expand Down Expand Up @@ -361,6 +361,20 @@ that will describe the prerequisites for the Parts Unlimited MRP application.
>**Note:** You can see the complete `init.pp` file <a href="https://raw.githubusercontent.com/Microsoft/PartsUnlimitedMRP/master/Labfiles/DevOps200.2x-InfrastructureasCode/Puppet/final/init.pp" target="_blank"><span style="color: #0066cc;" color="#0066cc">here on github</span></a>
> **Important:** Tomcat requires the presence of a user and group on the node to access and run the Tomcat services. Prior to running the below init.pp file, complete the following steps. We will add these to the deployment scripts shortly to automayte the creation of this user and group.
1. Access the mrp node and run the following commands
```
sudo groupadd -g 10000 tomcat
sudo useradd -g 10000 -d /tomcat -m -s /bin/ksh tomcat
```
#### Task 5.1 Configure MongoDb ###
Let's add a class to configure mongodb. Once mongodb is configured, we want Puppet to donwload a mongo script
Expand Down

0 comments on commit 828a71d

Please sign in to comment.