From 58553acacc151aa73ceb812722372c4ce602416d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 26 Jan 2017 02:47:58 -0400 Subject: response --- .../comment_1_082e5d5b8e25335bc90577abcfef1d21._comment | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/forum/Inherited_Variables.../comment_1_082e5d5b8e25335bc90577abcfef1d21._comment (limited to 'doc/forum/Inherited_Variables...') diff --git a/doc/forum/Inherited_Variables.../comment_1_082e5d5b8e25335bc90577abcfef1d21._comment b/doc/forum/Inherited_Variables.../comment_1_082e5d5b8e25335bc90577abcfef1d21._comment new file mode 100644 index 00000000..e4b32398 --- /dev/null +++ b/doc/forum/Inherited_Variables.../comment_1_082e5d5b8e25335bc90577abcfef1d21._comment @@ -0,0 +1,15 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2017-01-26T06:39:35Z" + content=""" +This is where propellor's `Info` system comes in. `Propellor.Info.getOS` +can be run to get the OS info. + +It's also possible to add new properties that add new values with custom +types to `Info`. + +The hostname is not currently stored in `Info`, but it probably should be; +that would be a good simplification. Currently there's a +separate way to get the hostname: `asks hostName` (run in the Propellor monad) +"""]] -- cgit v1.2.3