From e3b245f102f8e43782987a48348d416263f8709c Mon Sep 17 00:00:00 2001 From: Benjamin Grandfond Date: Fri, 14 Jun 2013 04:43:56 +0300 Subject: [PATCH 1/2] Replace dashes by underscores in GitHub usernames --- script/boxen-my-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/boxen-my-config b/script/boxen-my-config index cfe20d8..bc51f79 100755 --- a/script/boxen-my-config +++ b/script/boxen-my-config @@ -9,7 +9,7 @@ end editor = ENV["VISUAL"] || ENV["EDITOR"] home = ENV["BOXEN_HOME"] + "/repo" -user = user.downcase +user = user.downcase.tr('-', '_') path = "#{home}/modules/people/manifests/#{user}.pp" unless File.exist? path From 38306c85115f56908c32798519bb0adc9272f28a Mon Sep 17 00:00:00 2001 From: Benjamin Grandfond Date: Fri, 14 Jun 2013 04:10:46 +0200 Subject: [PATCH 2/2] Add note about GitHub usernames with dashes in README --- modules/people/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/people/README.md b/modules/people/README.md index d3e2e76..4afcedf 100644 --- a/modules/people/README.md +++ b/modules/people/README.md @@ -19,6 +19,8 @@ class people::jbarnette { } ``` +Note that if your GitHub username contains dashes, you should replace them by underscores in both the manifest name and the class name. + ## Projects While you _can_ include projects one by one, sometimes you might just want