<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.itcollege.ee/index.php?action=history&amp;feed=atom&amp;title=Puppet_Examples</id>
	<title>Puppet Examples - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.itcollege.ee/index.php?action=history&amp;feed=atom&amp;title=Puppet_Examples"/>
	<link rel="alternate" type="text/html" href="https://wiki.itcollege.ee/index.php?title=Puppet_Examples&amp;action=history"/>
	<updated>2026-05-05T15:35:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://wiki.itcollege.ee/index.php?title=Puppet_Examples&amp;diff=71122&amp;oldid=prev</id>
		<title>Rohak at 07:16, 27 December 2013</title>
		<link rel="alternate" type="text/html" href="https://wiki.itcollege.ee/index.php?title=Puppet_Examples&amp;diff=71122&amp;oldid=prev"/>
		<updated>2013-12-27T07:16:34Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:16, 27 December 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l25&quot;&gt;Line 25:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/source&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;source lang=&quot;php&quot;&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# /etc/puppet/manifests/classes/kokku.pp&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# /etc/puppet/manifests/classes/kokku.pp&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;class apachesrv {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;class apachesrv {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Rohak</name></author>
	</entry>
	<entry>
		<id>https://wiki.itcollege.ee/index.php?title=Puppet_Examples&amp;diff=69090&amp;oldid=prev</id>
		<title>Rohak at 15:22, 29 November 2013</title>
		<link rel="alternate" type="text/html" href="https://wiki.itcollege.ee/index.php?title=Puppet_Examples&amp;diff=69090&amp;oldid=prev"/>
		<updated>2013-11-29T15:22:30Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:22, 29 November 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Näites toodud moodulid saad paigalda järgnevate käskudega:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;source lang=&quot;bash&quot;&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;puppet module install puppetlabs/ntp&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;puppet module install puppetlabs/apache&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;puppet module install puppetlabs/stdlib&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;puppet module install thias/samba&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/source&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# /etc/puppet/manifests/site.pp&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# /etc/puppet/manifests/site.pp&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Rohak</name></author>
	</entry>
	<entry>
		<id>https://wiki.itcollege.ee/index.php?title=Puppet_Examples&amp;diff=69085&amp;oldid=prev</id>
		<title>Rohak: Created page with &quot;&lt;source lang=&quot;php&quot;&gt; # /etc/puppet/manifests/site.pp import &quot;classes/*&quot; node basenode { 	include peamine 	include software 	include tarkvara 	include eemalda 	include users } node…&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.itcollege.ee/index.php?title=Puppet_Examples&amp;diff=69085&amp;oldid=prev"/>
		<updated>2013-11-29T15:15:14Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt; # /etc/puppet/manifests/site.pp import &amp;quot;classes/*&amp;quot; node basenode { 	include peamine 	include software 	include tarkvara 	include eemalda 	include users } node…&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
# /etc/puppet/manifests/site.pp&lt;br /&gt;
import &amp;quot;classes/*&amp;quot;&lt;br /&gt;
node basenode {&lt;br /&gt;
	include peamine&lt;br /&gt;
	include software&lt;br /&gt;
	include tarkvara&lt;br /&gt;
	include eemalda&lt;br /&gt;
	include users&lt;br /&gt;
}&lt;br /&gt;
node &amp;#039;client1.lab1&amp;#039; inherits basenode {&lt;br /&gt;
	include rootkey&lt;br /&gt;
	include ntpserver&lt;br /&gt;
	include apachesrv&lt;br /&gt;
	include jagamine&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# /etc/puppet/manifests/classes/kokku.pp&lt;br /&gt;
class apachesrv {&lt;br /&gt;
	class { &amp;#039;apache&amp;#039;: }&lt;br /&gt;
	&lt;br /&gt;
	apache::vhost { &amp;#039;www.planet.zz&amp;#039;:&lt;br /&gt;
		port	=&amp;gt; &amp;#039;80&amp;#039;,&lt;br /&gt;
		docroot =&amp;gt; &amp;#039;/var/www/www.planet.zz&amp;#039;,&lt;br /&gt;
	}&lt;br /&gt;
	file { &amp;quot;/var/www/www.planet.zz/index.html&amp;quot;:&lt;br /&gt;
		ensure =&amp;gt; present,&lt;br /&gt;
		content =&amp;gt; &amp;quot;www.planet.zz\n&amp;lt;br\n&amp;gt;Server tootab\n&amp;quot;,&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	file_line { &amp;#039;host_planet&amp;#039;:&lt;br /&gt;
		ensure =&amp;gt; present,&lt;br /&gt;
		line =&amp;gt; &amp;quot;127.0.0.1 www.planet.zz&amp;quot;,&lt;br /&gt;
		path =&amp;gt; &amp;#039;/etc/hosts&amp;#039;,&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	apache::vhost { &amp;#039;weeb&amp;#039;:&lt;br /&gt;
			port	=&amp;gt; &amp;#039;80&amp;#039;,&lt;br /&gt;
			docroot =&amp;gt; &amp;#039;/var/www/weeb&amp;#039;,&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	file { &amp;quot;/var/www/weeb/index.html&amp;quot;:&lt;br /&gt;
			ensure =&amp;gt; present,&lt;br /&gt;
			content =&amp;gt; &amp;quot;weeb\n&amp;lt;br\n&amp;gt;Server tootab\n&amp;quot;,&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	file_line { &amp;#039;host_weeb&amp;#039;:&lt;br /&gt;
			ensure =&amp;gt; present,&lt;br /&gt;
			line =&amp;gt; &amp;quot;127.0.0.1 weeb&amp;quot;,&lt;br /&gt;
			path =&amp;gt; &amp;#039;/etc/hosts&amp;#039;,&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
class rootkey {&lt;br /&gt;
	ssh_authorized_key { &amp;#039;root_public_key&amp;#039;:&lt;br /&gt;
		user =&amp;gt; &amp;#039;root&amp;#039;,&lt;br /&gt;
		type =&amp;gt; &amp;#039;rsa&amp;#039;,&lt;br /&gt;
		key =&amp;gt; &amp;#039;AAAAB3NzaC1yc2EAAAADAQABAAABAQCb4qleB1hiGCXJZJkWIQqrfVtRSaS26qr9qgKGx80tqhy+SHcTXvDyiTfE+EbpXoH+OxZk3uu2U1J70GfqOO5t5LXp5Cawk/uFIzluwBsCMwUyuByB9wjtMS06DJFwGt7YXxCJd2P52VLQvG4QwprNvihVWzg43IrlY2FWSM3KIHvu8bSeyVRQf6uqREP88FPWJKqvmHFFOl9IQpEv0X83/+bCjkUZA501c19S8ZGs051mLIy9fv8kjH7yz3RIn4PYZSpO20p0l46s2gQGDCMG4Zx0Y5EM7exNjRzleHlAcTpCFfsGG6/+SZqO6nywTLVZwCsOLjXIfeDrDOau8t+n&amp;#039;,&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
class ntpserver {&lt;br /&gt;
	class { &amp;#039;::ntp&amp;#039;:&lt;br /&gt;
		servers =&amp;gt; [ &amp;#039;ntp.eenet.ee&amp;#039;, &amp;#039;ntp.ut.ee&amp;#039; ],&lt;br /&gt;
		panic =&amp;gt; false, #Hea kasutada virtuaalmasinate puhul.&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
class peamine {&lt;br /&gt;
	file { &amp;quot;/etc/issue&amp;quot;:&lt;br /&gt;
	ensure =&amp;gt; present,&lt;br /&gt;
	mode =&amp;gt; 600,&lt;br /&gt;
	owner =&amp;gt; root,&lt;br /&gt;
	group =&amp;gt; root,&lt;br /&gt;
	content =&amp;gt; &amp;quot;KALA&amp;quot;,&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
class jagamine {&lt;br /&gt;
	class { &amp;#039;samba::server&amp;#039;:&lt;br /&gt;
		workgroup			=&amp;gt; &amp;#039;WORKGROUP&amp;#039;,&lt;br /&gt;
		server_string		=&amp;gt; &amp;#039;Fail server&amp;#039;,&lt;br /&gt;
		hosts_allow		 =&amp;gt; [ &amp;#039;127.&amp;#039;, &amp;#039;192.168.&amp;#039; ],&lt;br /&gt;
		local_master		=&amp;gt; &amp;#039;yes&amp;#039;,&lt;br /&gt;
		map_to_guest		=&amp;gt; &amp;#039;Bad User&amp;#039;,&lt;br /&gt;
		preferred_master	=&amp;gt; &amp;#039;yes&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
		shares =&amp;gt; {&lt;br /&gt;
			&amp;#039;homes&amp;#039; =&amp;gt; [&lt;br /&gt;
				&amp;#039;comment = Home Directories&amp;#039;,&lt;br /&gt;
				&amp;#039;browseable = no&amp;#039;,&lt;br /&gt;
				&amp;#039;writable = yes&amp;#039;,&lt;br /&gt;
			],&lt;br /&gt;
			&amp;#039;pildid&amp;#039; =&amp;gt; [&lt;br /&gt;
				&amp;#039;comment = Pildid&amp;#039;,&lt;br /&gt;
				&amp;#039;path = /var/samba/pildid&amp;#039;,&lt;br /&gt;
				&amp;#039;browseable = yes&amp;#039;,&lt;br /&gt;
				&amp;#039;writable = yes&amp;#039;,&lt;br /&gt;
				&amp;#039;guest ok = yes&amp;#039;,&lt;br /&gt;
				&amp;#039;available = yes&amp;#039;,&lt;br /&gt;
			],&lt;br /&gt;
		},&lt;br /&gt;
	}&lt;br /&gt;
	file { [ &amp;quot;/var/samba/&amp;quot;, &amp;quot;/var/samba/pildid/&amp;quot; ]:&lt;br /&gt;
		ensure =&amp;gt; directory,&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
class software {&lt;br /&gt;
	package {&lt;br /&gt;
		[&amp;quot;zsh&amp;quot;]: ensure =&amp;gt; present &lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
class tarkvara {&lt;br /&gt;
	package {&lt;br /&gt;
		[&amp;quot;htop&amp;quot;, &amp;quot;bpython&amp;quot;]: ensure =&amp;gt; present&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
class eemalda {&lt;br /&gt;
	package {&lt;br /&gt;
		[&amp;quot;cowsay&amp;quot;]: ensure =&amp;gt; absent&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
class users {&lt;br /&gt;
	user { &amp;quot;polekala&amp;quot;:&lt;br /&gt;
		ensure =&amp;gt; present,&lt;br /&gt;
		home =&amp;gt; &amp;quot;/home/polekala&amp;quot;,&lt;br /&gt;
		managehome =&amp;gt; true,&lt;br /&gt;
		shell =&amp;gt; &amp;quot;/bin/zsh&amp;quot;,&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rohak</name></author>
	</entry>
</feed>