SHARE
TWEET

Untitled

a guest Nov 14th, 2018 135 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. node 'puppetclient1.linuxdojo.co.uk' {
  2.    class { 'apache': }
  3.    apache::vhost { 'example.com':
  4.      port    => '80',
  5.      docroot => '/var/www/html'
  6.   }
  7.  
  8.   $nameservers = ['1.1.1.1']
  9.  
  10.  file { '/etc/resolv.conf':
  11.    ensure  => file,
  12.    owner   => 'root',
  13.    group   => 'root',
  14.    mode    => '0644',
  15.    content => template('resolver/resolv.conf.erb'),
  16.    }
  17.  
  18.  class { 'plexmediaserver':
  19.   plex_user                                 => 'foo',
  20.   plex_media_server_home                    => '/usr/share/lib/plexmediaserver',
  21.   plex_media_server_application_support_dir => "`getent passwd $PLEX_USER|awk -F : '{print $6}'`/My Documents/Application Support",
  22.   plex_media_server_max_plugin_procs        => '7',
  23.   plex_media_server_max_stack_size          => '20000',
  24.   plex_media_server_max_lock_mem            => '4000',
  25.   plex_media_server_max_open_files          => '1024',
  26.   plex_media_server_tmpdir                  => '/var/tmp',
  27.   }
  28.  
  29. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top