From 3441a001c7ed6cb86c5158d795d234a6eb1a705d Mon Sep 17 00:00:00 2001 From: Roger Ignazio Date: Wed, 5 Aug 2015 14:00:08 -0700 Subject: [PATCH 1/2] Modify Puppet color based on style guide Prior to this commit, the Puppet language was colored to #332A77. The Puppet Labs style guide (https://puppetlabs.com/styleguide/brand) specifies Puppet Dark Purple to be #302B6D. Alternately, Puppet Purple, a lighter variant, may be used: #7C6AAB. Keeping with the dark purple theme, this commit modifies the Puppet language to use Puppet Dark Purple, hex #302B6D. --- lib/linguist/languages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 774fd3dd..33efb842 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -2653,7 +2653,7 @@ Public Key: Puppet: type: programming - color: "#332A77" + color: "#302B6D" extensions: - .pp filenames: From f072cd96e3e9b4ffe45a3ed9f2ce37eef6e2a0eb Mon Sep 17 00:00:00 2001 From: Roger Ignazio Date: Wed, 5 Aug 2015 14:02:09 -0700 Subject: [PATCH 2/2] Add hiera_include() sample for the Puppet language Prior to this commit, some Puppet files were being incorrectly identified as Pascal when they contained only the following content: hiera_include('classes') This commit adds a hiera_include() sample to for the Puppet language to correct this behavior. --- samples/Puppet/hiera_include.pp | 1 + 1 file changed, 1 insertion(+) create mode 100644 samples/Puppet/hiera_include.pp diff --git a/samples/Puppet/hiera_include.pp b/samples/Puppet/hiera_include.pp new file mode 100644 index 00000000..7959e7b1 --- /dev/null +++ b/samples/Puppet/hiera_include.pp @@ -0,0 +1 @@ +hiera_include('classes')