Skip to content

Instantly share code, notes, and snippets.

View groob's full-sized avatar
🌻

Victor Vrantchan groob

🌻
View GitHub Profile
vvrantchan@C02LH12CFFT3 ~/hub/puppetrepo/modules/truth/lib/puppet/parser/functions (has_app●●)$ sudo /usr/bin/puppet apply -v --modulepath=~/hub/puppetrepo/modules ~/hub/puppetrepo/manifests/site.pp --verbose --trace
Password:
Info: Loading facts in /var/git/puppetrepo/modules/custom_facts/files/availablespace.rb
Info: Loading facts in /var/git/puppetrepo/modules/custom_facts/files/consoleuser.rb
Info: Loading facts in /var/git/puppetrepo/modules/custom_facts/files/mac_battery_charge_percent.rb
Info: Loading facts in /var/git/puppetrepo/modules/custom_facts/files/mac_battery_charging.rb
Info: Loading facts in /var/git/puppetrepo/modules/custom_facts/files/mac_battery_cycles.rb
Info: Loading facts in /var/git/puppetrepo/modules/custom_facts/files/mac_battery_health.rb
Info: Loading facts in /var/git/puppetrepo/modules/custom_facts/files/mac_current_user.rb
Info: Loading facts in /var/git/puppetrepo/modules/custom_facts/files/mac_encryption_enabled.rb
USE_PKGBUILD=1
include /usr/local/share/luggage/luggage.make
TITLE=munki_kickstart
PACKAGE_VERSION=1.0.0
REVERSE_DOMAIN=edu.whitby
PAYLOAD= \
pack-script-postinstall
#!/bin/sh
rpm --import http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-DSA-KEY.pub
rpm --import http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub
echo -e "[vmware-tools]\nname=VMware Tools\nbaseurl=http://packages.vmware.com\
/tools/esx/5.1latest/rhel6/x86_64\nenabled=1\ngpgcheck=1" > /etc/yum.repos.d\
/vmware-tools.repo
yum makecache
yum clean all
yum -y install vmware-tools-hgfs vmware-tools-esx-nox
@groob
groob / makefile
Created April 10, 2014 15:02
setupassistant makefile
USE_PKGBUILD=1
include /usr/local/share/luggage/luggage.make
TITLE=DisableSetupAssistant
PACKAGE_VERSION=1.0.1
REVERSE_DOMAIN=edu.whitby
PAYLOAD=prep-var-db-AppleSetupDone \
prep-Library-SetupRegComplete
# apply Lion-specific perms fix:
node 'default' {
package {"munkitools":
ensure => installed,
provider => "pkgdmg",
source => "/Users/vagrant/Desktop/VMware Shared Folders/-vagrant/munkitools2-latest.pkg",
}
}
@groob
groob / README.md
Last active February 27, 2018 22:43
Puppet-Managedmac
@groob
groob / BoxEdit.download.recipe
Last active August 29, 2015 14:04
boxedit pkginfo
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>Downloads the latest version of Box Edit.</string>
<key>Identifier</key>
<string>com.github.hansen-m.download.boxedit</string>
<key>Input</key>
<dict>
import re
import urllib2
import urllib
import urlparse
index_url = 'https://www.makerbot.com/desktop'
f = urllib2.urlopen(index_url)
html = f.read()
f.close()
class bootstrap::defaultpdf {
exec {'set_pdf_reader':
command => "/opt/boxen/homebrew/bin/duti -s com.apple.Preview .pdf all",
unless => "/opt/boxen/homebrew/bin/duti -x pdf | grep Preview",
user => $mac_current_user,
}
}
---
module::class::var1: 'use_this_value'
module::class::var1: 'use_this_value'