We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce35c51 commit de080d9Copy full SHA for de080d9
lib/puppet/parser/functions/typecast.rb
@@ -2,6 +2,8 @@
2
# typecast.rb
3
#
4
5
+# Mostly taken from the lita chef module: https://github.com/litaio/chef-lita
6
+
7
module Puppet::Parser::Functions
8
newfunction(:typecast, :type => :rvalue, :doc => <<-EOS
9
This outputs ruby argumentsects attempting to maintain their format to be read in from
manifests/bot.pp
@@ -44,6 +44,7 @@
44
file { "${bot_dir}/lita_config.rb":
45
owner => 'lita',
46
group => 'lita',
47
+ mode => '0440',
48
content => template('lita/lita_config.rb.erb'),
49
notify => Service["lita_${_name}"],
50
}
0 commit comments