diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index 377ad04..3926af5 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -29,7 +29,7 @@ * systemd platform now defaults to targeting /etc/systemd/system for writing unit files. This was chosen based on research across across 7 different Linux distributions. - * fix a bug where attempting to detect systemd would crash becuase + * fix a bug where attempting to detect systemd would crash because `systemctl` was not available. == 0.0.21 (May 16, 2016) @@ -45,7 +45,7 @@ * Fix bug in OS detection == 0.0.18 (May 6, 2016) - * Support newer Facter api (Aaron Mildtenstein) + * Support newer Facter api (Aaron Mildenstein) == 0.0.17 (May 4, 2016) * Added detection for Fedora 22 and 23, OS X 10.11, and Ubuntu 14.10, 15.04, 15.50, and 16.04. (#98, Aaron Mildenstein) diff --git a/lib/pleaserun/configurable.rb b/lib/pleaserun/configurable.rb index 765e36c..b640d18 100644 --- a/lib/pleaserun/configurable.rb +++ b/lib/pleaserun/configurable.rb @@ -108,7 +108,7 @@ def all_attributes # # Both validation and munge blocks are optional. # - # The 'validate' block is expcted to fail if the value given to the + # The 'validate' block is expected to fail if the value given to the # facet is not valid. # # The 'munge' block is intended to help you coerce a value. For example, if diff --git a/spec/pleaserun/platform/sysv_spec.rb b/spec/pleaserun/platform/sysv_spec.rb index fc37a9c..0a071f9 100644 --- a/spec/pleaserun/platform/sysv_spec.rb +++ b/spec/pleaserun/platform/sysv_spec.rb @@ -10,7 +10,7 @@ etc_initd_writable = File.stat("/etc/init.d").writable? rescue false p :WRIT => etc_initd_writable if !etc_initd_writable - it "cannot write to /etc/init.d, so there's no deployment test to do. To run these tests, you'll need to run this as root, and preferrably in a vm or other temporary system" + it "cannot write to /etc/init.d, so there's no deployment test to do. To run these tests, you'll need to run this as root, and preferably in a vm or other temporary system" else it_behaves_like PleaseRun::Platform do let(:skip) { "Cannot write to /etc/init.d" } unless etc_initd_writable