Skip to content

Commit

Permalink
llicencia
Browse files Browse the repository at this point in the history
  • Loading branch information
jordiprats committed Mar 8, 2016
1 parent 1c33c55 commit 285847e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/puppet/parser/functions/bool2yesno.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
#shamesly stolen from: https://github.com/puppetlabs/puppetlabs-apache/blob/master/lib/puppet/parser/functions/bool2httpd.rb
# with minor changes
#
#
#Copyright (C) 2012 Puppet Labs Inc
#
#Puppet Labs can be contacted at: [email protected]
#
#Licensed under the Apache License, Version 2.0 (the "License");
#
#
Puppet::Parser::Functions::newfunction(:bool2yesno, :type => :rvalue, :doc => <<-EOS
Transform a supposed boolean to yes or no. Pass all other values through.
Given a nil value (undef), bool2yesno will return 'no'
Expand Down

0 comments on commit 285847e

Please sign in to comment.