This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: Promise.all([import('https://unpkg.com/[email protected]?module'), import('https://unpkg.com/@tehshrike/[email protected]'), ]).then(async ([{ | |
default: Turndown | |
}, { | |
default: Readability | |
}]) => { | |
/* Optional vault name */ | |
const vault = ""; | |
/* Optional folder name such as "Clippings/" */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The first run fails because there is no 'importantserver' placeholder resource. | |
frontend1(~) % puppet apply --storeconfigs --config ./puppet.conf pull.pp | |
Could not find dependency Placeholder[importantserver] for File[/tmp/y] at /home/jordan/pull.pp:12 | |
# Have another server export this resource | |
ops(~/pp) % puppet apply --storeconfigs --config ./puppet.conf push.pp | |
# Try again, which works because the exported resource is found. | |
frontend1(~) !1! % puppet apply --storeconfigs --config ./puppet.conf pull.pp | |
notice: /Stage[main]/Bar/File[/tmp/y]/content: content changed '{md5}5a2f711ba4198f0db5e6b9e38a8f2d64' to '{md5}53cadf1c93f077aae3747e6507d7aa8e' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/puppet/modules/tomcat/manifests | |
class tomcat6 { | |
# define your resource type | |
define configuration($loglevel_default = 'DEBUG', $loglevel_httpclientapache = 'DEBUG', $loglevel_httpclientwire = 'DEBUG', $loglevel_sportex = 'DEBUG', $loglevel_lus = 'DEBUG', $loglevel_apache = 'DEBUG', $loglevel_springframework = 'DEBUG', $loglevel_quartz = 'DEBUG', $loglevel_apachecxf = 'DEBUG') { | |
file { "/etc/tomcat6/log4j.properties": content => template("tomcat6/log4j_properties.erb") } | |
} | |