You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Step 3: Make changes to the hosts file which exists in /etc/hosts. And add the Puppet
114
-
Master IP address along with the name �puppet�
114
+
Master IP address along with the name “puppet”
115
115
116
116
$ sudo nano /etc/hosts
117
117
@@ -154,4 +154,17 @@ mode => '0644',
154
154
}
155
155
156
156
Goto client machine and run the command
157
-
puppet agent --test
157
+
puppet agent --test
158
+
159
+
-----------Find the resource types
160
+
puppet resource --types
161
+
puppet resource file /tmp/1.txt
162
+
163
+
----To set the running interval on client machine
164
+
By default the running interval on the client is 30 mins. but we can change it by changing /etc/puppet/puppet.conf
165
+
[agent]
166
+
server=puppet
167
+
runinterval=1m
168
+
169
+
Modules:-
170
+
it is the collection of manifest with data( such as facts files and templates) and they have a specific directory structure. Modules are useful to organize puppet code because they allow you to split the code in multiple manifests.It is considered to be best practice to use modules to organize manifests.
0 commit comments